﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ProTrack.Entity
{
    public class BpmOaLeave
    {
        /// <summary>
        /// 请假表单主键
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 申请人的职工编号
        /// </summary>
        public long EmployeesId { get; set; }


        /// <summary>
        /// 员工姓名
        /// </summary>
        public string EmployeesName { get; set; }

        /// <summary>
        /// 请假类型 事假 病假 年假/休假 婚假 产假 调休假
        /// </summary>
        public string LeaveType { get; set; }

        /// <summary>
        /// 请假原因
        /// </summary>
        public string Reason { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime StartTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime EndTime { get; set; }

        /// <summary>
        /// 请假天数
        /// </summary>
        public int Day { get; set; }

        /// <summary>
        /// 请假结果 0进行中 1已审批 2已拒绝
        /// </summary>
        public int Result { get; set; }


        /// <summary>
        /// 流程Id
        /// </summary>
        public long? WorkflowId { get; set; }

        /// <summary>
        /// 创建者
        /// </summary>
        public string Creator { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime ? CreateTime { get; set; }

        /// <summary>
        /// 更新者
        /// </summary>
        public string Updater { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime ? UpdateTime { get; set; }

        /// <summary>
        /// 是否已删除
        /// </summary>
        public bool Deleted { get; set; }
    }
}
